package com.dmai.capacity.platform.common.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import lombok.Data;

@Data
@ConfigurationProperties(prefix = "dmai.security")
@RefreshScope
public class SecurityProperties {
	
	private ActuatorProperties actuator = new ActuatorProperties();
	
    private AuthProperties auth = new AuthProperties();
    
    private XssProperties xss  = new XssProperties();

    private PermitProperties ignore = new PermitProperties();
    
    private RateLimitProperties ratelimit = new RateLimitProperties() ;
    
    private ValidateCodeProperties code = new ValidateCodeProperties();
}
